<?php
namespace app\common\validate;
use think\Validate;
class BisLocation extends Validate{
    
    protected $rule=[
         'name' => 'require|max:25',
         'address'=>"require",
          "logo"=>"require",
          "tel"=>"require",
          "contact"=>"require",
          "content"=>"require",
    ];
    
    //场景
    protected $scene=[
        "status"=>["id","status"],
    ];
   
}

